$OpenBSD: patch-cvsweb_conf,v 1.13 2014/07/26 19:38:03 naddy Exp $
--- cvsweb.conf.orig	Mon Sep 23 07:30:17 2002
+++ cvsweb.conf	Sat Jul 26 03:08:50 2014
@@ -81,8 +81,7 @@ $cvstreedefault = $CVSrepositories[2 * 0];    # The fi
 ##############
 # Manual gateway
 ##############
-$mancgi =
-    "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html";
+$mancgi = "http://www.openbsd.org/cgi-bin/man.cgi?&sec=%s&query=%s";
 
 ##############
 # Defaults for UserSettings
@@ -115,7 +114,6 @@ $mancgi =
 	#   h      Human readable
 	#   u      Unified diff
 	#   c      Context diff
-	#   s      Side by side
 	"f" => "u",
 
 	# hidecvsroot: Don't show the CVSROOT directory
@@ -200,7 +198,7 @@ EOT
 # These default icons are coming with apache.
 # If these icons are too large, check out the miniicons in the
 # icons/ directory; they have a width/height of 16/16
-my $iconsdir = "/icons";
+my $iconsdir = "/cvsweb/icons";
 
 # format:             TEXT      ICON-URL              width height
 %ICONS = (
@@ -290,19 +288,6 @@ $use_descriptions = 0;
 # exceed the width of the browser
 $hr_breakable = 1;
 
-# give out function names in diffs
-# this just makes sense if we have C-files, otherwise
-# diff's heuristic doesn't work well ..
-# ( '-p' option to diff)
-$showfunc = 1;
-
-# For each pair of regexps, files that match the first regexp will be diff'ed
-# with an '-F' option with the second regexp.
-%funcline_regexp = (
-	"\\.(4th|fr)\$" => "\\(^\\|[ \t]\\): ",
-	"\\.rb\$"       => "^[\t ]*\\(class\\|module\\|def\\) ",
-);
-
 # ignore whitespaces for human readable diffs
 # (indendation and stuff ..)
 # ( '-w' option to diff)
@@ -335,7 +320,7 @@ $inputTextSize = 12;
 # cvsweb to guess the correct mime-type on
 # checkout; you can use the mime.types from
 # apache here:
-$mime_types = '/usr/local/etc/apache/mime.types';
+$mime_types = '/var/www/conf/mime.types';
 
 # quick mime-type lookup; maps file-suffices to
 # mime-types for displaying checkouts in the browser.
